<?php
 header("Content-Type:text/html;charset=utf-8");
 $db=new mysqli('127.0.0.1','root','','db_wish',3306);
  if ($db->connect_error)
    {
        die("连接失败，出错信息是：".$db->connect_error);
    }
// echo "连接成功！";
   
 $db->query("set names utf8");
